package cn.ht.jywrwater.module.ht.controller.admin.waterdevices.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.ht.jywrwater.framework.common.pojo.PageParam;
import java.time.LocalDateTime;
import org.springframework.format.annotation.DateTimeFormat;

import static cn.ht.jywrwater.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 设备 Excel 导出 Request VO，参数和 WaterDevicesPageReqVO 是一致的")
@Data
public class WaterDevicesExportReqVO {

    @Schema(description = "设备号")
    private String deviceCode;

    @Schema(description = "村庄")
    private String village;

    @Schema(description = "承建单位")
    private String contractor;

    @Schema(description = "安装时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] installationTime;

    @Schema(description = "类型", example = "1")
    private Integer deviceType;

}
